#ifndef ANIMAL_H
#define ANIMAL_H

class Animal
{
private:
	char* color;

public:
	Animal()
	{
		set_color("white");
	}
	virtual void say_hi() const;
	void set_color(char* const c);
	char* get_color() const;

};

class Cat : public Animal
{
public:
	Cat()
	{
		set_color("white");
	}
	Cat(char* const c)
	{
		set_color(c);
	}
	virtual void say_hi() const;
};




#endif